package org.ece3574.fallingbox;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class MainMenu extends Activity implements OnClickListener{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_menu);
        View aboutButton = findViewById(R.id.button1);
        aboutButton.setOnClickListener(this);
    }
    

    
    public void onClick(View v){
    	switch (v.getId()) {
    	case R.id.button1:
    		Intent a = new Intent(this, FallingboxActivity.class);
    		startActivity(a);
    		break;
    	}
    }
}